<div class="clear"></div>
	<div onclick="location.href='<?php echo $this->Html->url(array('controller' => 'pitches', 'action' => 'view', $pitch['Pitch']['id'])); ?>" style="cursor: pointer;">
	<div class="brief-detail">
		<div class="logo-conttr">
			<div class="design-kader1">
				<img src="img/new_pitch4.png" alt="#"/>
			</div>
		</div>			
			<div class="briefing-details">
				<h2><?php echo $this->Html->link(Sanitize::html($pitch['Pitch']['title']), array('controller' => 'pitches', 'action' => 'view', $pitch['Pitch']['id']),array('class'=>'titel')); ?></h2>
			

				<table>
				<tr>
				<td><p>Categorie:</p></td>
				<td><p><?php echo Sanitize::html($pitch['Pitch']['category']); ?></p></td>
				</tr>
				<tr>
				<td><p>Deadline:</p></td>
				<td><p><?php echo $this->FixDate->fix_date(Sanitize::html($pitch['Pitch']['deadline'])); ?></p></td>
				</tr>
				<tr>
				<td><p>Reward:</p></td>
				<td><p><?php echo $this->Number->currency(Sanitize::html($pitch['Pitch']['reward']), 'EUR'); ?></p></td>
				</tr>
				</table>
				
		<!--    De regels hieronder zorgen voor een link naar het aantal ontwerpen   -->		
				
				<p><?php /*
				if ($pitch['Pitch']['design_count'] == 1) {
				echo $this->Html->link($pitch['Pitch']['design_count'] . ' ontwerp', array('controller' => 											'designs', 'action' => 'index', $pitch['Pitch']['id']),array('class'=>'aantal_ontwerpen')); } else {
				echo $this->Html->link($pitch['Pitch']['design_count'] . ' ontwerpen', array('controller' => 											'designs', 'action' => 'index', $pitch['Pitch']['id']),array('class'=>'aantal_ontwerpen'));
				}
					
				 */?></p>
												
			</div>
			<?php if ($pitch['Pitch']['locked'] == 1) {
				echo '<div class="lock"></div>'; }?>
</div>

		<div class="clear"></div>
		</div>
		<hr/>
						

